import Menu from './menu.vue'
import AdminModuleAdd from './moduleAdd.vue'
import AdminMenuAdd from './menuAdd.vue'

const components = [
    Menu,
    AdminModuleAdd,
    AdminMenuAdd
]

const main = {
    install(Vue) {
        components.map((component) => {
            Vue.component(component.name, component)
        })
    }
}

export default main
